/*
*,header{
    margin: 0 auto;
    border: 0 auto;
    padding: 0 auto;
}
*/

/*header style*/
.header {
	margin-top: -10px;
	width: 100%;
	height: 50px;
	background-color: #D64B2A;
	line-height: 50px;
}

.header-title {
	margin-left: 17%;
}

.header-title li {
	float: left;
	list-style: none;
	margin-left: 20px;
}

.header-title li a, .header-title li div a {
	border-top: 5px solid #D64B2A;
	padding: 15px;
	color: #fff;
	font-size: 18px;
	text-decoration-line: none;
}

.header-sidebar li a {
	color: #D64B2A;
}

.header-title li div a:hover {
	color: #FFF;
	text-decoration: none;
}

.header-title li a:hover {
	border-top: 5px solid #FFF;
	border-top: 10px solid #000;
	padding: 15px;
	color: #000;
	text-decoration: none;
}

.header-sidebar li a:hover {
	color: #D64B2A;
	text-decoration: none;
}

.header-sidebar, .after-login {
	margin-right: 19%;
}

.header-sidebar li, .after-login li {
	margin-top: 5px;
	display: block;
	float: right;
	list-style: none;
	margin-right: 20px;
	border-radius: 10px;
}

.header-sidebar li div a {
	padding: 5px;
	/*
    width: 60px;
    height:30px;
*/
	background-color: #fff;
	border-radius: 10px;
	margin: auto;
	line-height: 50px;
	border: 1px solid #D64B2A;
}

.header-sidebar li div a:hover {
	background-color: #D64B2A;
	color: #fff;
	border: 1px solid #CCC;
}

.after-login span {
	color: #fff;
	font-size: 15px;
	margin-right: 10px;
}

.after-login li a {
	color: #FFF;
	font-size: 18px;
}
/*图片轮换 start*/
#demo {
	background: #FFF;
	overflow: hidden;
	width: 100%;
	height:250px;
	margin-top:20px;
	background-color:#F5F7FA;
}

#demo img {
	border: 1px;
	height: 200px;
	width: 200px;
}

#demo img:hover {
	border: 1px solid #ffa800;
}

#indemo {
	float: left;
	width:400%;
}

#demo1 {
	float: left;
}

#demo2 {
	float: left;
}

#demo p img {
	margin-top:30px;
	margin-left: 90px;
	border-radius: 100px;
}

#demo p span {
	margin-top: 80px;
}

#indemo {
	float: left;
	width: 800%;
}

#demo1 p {
	float: left;
}

#demo2 p {
	float: left;
}
/*图片轮换 end*/
.content {
	margin-top: 30px;
	z-index:1px;
}

.cart {
	width: 400px;
	height: 100px;
	background-color: #ffd2c4;
	position: absolute;
	margin-right: 0px;
	margin-bottom: 0px;
	opacity: 0.5;
}

.nav {
	background-color: #F0B659;
	border: 0px;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus,
	.navbar-default .navbar-nav>.active>a:hover {
	background-color: #F0B659;
}

.navbar-nav>.active>a, .navbar-nav>.active>a:focus, .navbar-nav>.active>a:hover,
	.navbar-default .navbar-nav>.active>a {
	font-weight: 100;
}

.cart h2 {
	text-align: center;
}

.hr {
	color: black;
}

.price {
	margin-top: -36px;
	float: right;
	font-size: 20px;
	color: red;
}

.logo {
	width: 40px;
	height: 40px;
}

.buy-btn {
	
}

.all-merchant {
	margin-top: 20px;
}

.list-mer-logo {
	margin-top: 15px; width : 250px;
	height: 220px;
	width: 250px;
}

.list-mer-logo a:hover .info {
	opacity: 1; /*有opacity有0变成1*/
	color: #FFF;
	margin: 110px 18px 10px 15px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.list-mer-logo .info {
	position: absolute;
	margin: 180px 18px 10px 20px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	-webkit-backface-visibility: hidden; /* 隐藏旋转元素的背面*/
	backface-visibility: hidden;
	background: rgba(214, 75, 42, 0.6); /*后面这个0.6是指的背景的透明度*/
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	/*规定提示信息怎样出现ease-in-out以慢速度开始和结束*/
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
/*order style*/
.sum {
	float: right;
}

.sum span {
	margin-right: 30px;
}

.title-p span {
	margin-left: 20%;
	color: #ea3030;
}

.table-content {
	border: 1px solid #ddd;
	text-align: center;
}

.table-title {
	text-align: center;
}

.table-title tr td {
	font-weight: bolder;
	border-bottom: 1px solid #ddd;
}

.td-dish {
	width: 40%;
}

.td-price {
	width: 10%;
}

.td-number {
	width: 10%;
}

.td-sum {
	width: 10%;
}

.td-status {
	width: 15%;
}

.td-option {
	width: 20%;
}

.table-content tr {
	border: 0px;
}

.td-img {
	width: 20%;
}

.td-dName {
	width: 20%;
}

.con-sum {
	border: 1px solid #ddd;
}

.con-status {
	border: 1px solid #ddd;
	width: 15%;
}

.con-option {
	border: 1px solid #ddd;
	width: 15%;
	color: #F9F9F9;
}

option-btn {
	color: F9f9F9
}

.dish-img {
	width: 50px;
	height: 50px;
}

.order-info {
	color: #000;
	font-size: 18px;
}
/*history order style*/
.order-top {
	height: 5px;
	width: 100%;
	background-color: #D64B2A;
}

.table-hidden {
	height: 0px;
}

.order-detail {
	display: none;
	margin-top: -15px;
	background-color: #f1f1f1;
}

.order-detail-show {
	display: block;
}

.dish-img {
	width: 50px;
	height: 50px;
}

.buy-btn {
	margin-top: -100px auto;
	margin:;
}

.order-msg li {
	list-style: none;
}

.merchant-msg {
	margin-left: -40px;
}

.merchant-msg p {
	/* padding: 5px;
	border-bottom: 1px solid #CCC; */
}

.merchant-msg span {
	/* margin-left: 50px;
	padding: 10px; */
}

.mer-logo {
	width: 260px;
	height: 210px;
}
/*confirm order*/
.confirm-btn {
	float: right;
}

.tr-total {
	text-align: left;
}

.address-name {
	font-weight: bold;
}
/*person Info*/
.person-info {
	width: 60% margin-left: 20%;
	height: 180px;
}

.info-update {
	display: none;
}

.info-text {
	padding-top: 7px;
}

.all-btn {
	text-align: center;
}

.all-btn button {
	margin-right: 5px;
}

.history-msg {
	/* border: 5px solid #D64B2A; */
	background-color: #fcf7f7;
    padding: 25px 25px 55px 25px;
    margin-bottom: 15px;
}

.history-panel {
	border: 5px solid #D64B2A;
    padding: 10px 10px 10px 50px;
}

.history-table-header {
	text-align: center;
}

.history-item {
	float: left;
    width: 20%;
    text-align: center;
    font-size: 17px;
}

.history-header {
	padding-top: 10px;
    padding-bottom: 33px;
    background-color: #D64B2A;
    color: white;
    margin-bottom: 10px;
}

.btn-detail {
	cursor: pointer;
}

.person-info-font {
	    font-size: 20px;
}

.counts{
	text-align: center;
}

.footer{
	margin:0 auto;
	text-align:center;
}

.contain {
	min-height: 888px;
}
